﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<!DOCTYPE html>

<html>
<frameset cols="90px,*" border="0" frameborder="0" framespacing="0" marginwidth="0" marginheight="0">
    <frame src="/Home/Menu"/>

    
    <frameset rows="*,30px">
             <%        
                 var Model = (visu.role)visu.OperateContext.SessMenuPermission;
                 if (Model.IS_Company == true)
                 {
             %>      
            <frame src="/Company/CompanyRelationListInfo" name="rightFrame"/>
            <%
         }
                 else if (Model.IS_Monitor == true)
         {   %>
                   <frame src="/Monitor/MonitorListInfo" name="rightFrame"/>  <%
         }
         else if (Model.IS_Report == true)
         { %>
                    <frame src="/Report/MaterialIn" name="rightFrame"/><%
         }
         else if (Model.IS_Resource == true)
         {%>
                    <frame src="/Resource/OnTimeInventory" name="rightFrame"/><%
         }
         else if (Model.IS_Message == true)
         {  %>
                    <frame src="/Message/MaterialSafetyStockAlert" name="rightFrame"/> <%
         }
         else if (Model.IS_Setting == true)
         {%>
                    <frame src="/Setting/CompanyInfo" name="rightFrame"/><%
         }
          %>

        <frame src="/Home/Bottom" name="bottomFrame"/>
    </frameset>



</frameset>
</html>
